// 商户对象类型

export type NSU = string | number | unknown;

// Partial: 将所有属性都设置为可选属性
export type BusinessType = Partial<{
    id: number,
    logo: string,
    title: string,
    phone: number | string,
    province: string,
    city: string,
    county: string,
    address: string,
    legal_person: string
}>

export type DoctorType = Partial<{
    id: number,
    bus_id: number,
    name: string,
    title: string,
    avatar: string,
    phone: number | string,
    province: string,
    city: string,
    county: string,
    tags: string,
    bus_title: string,
    introduce: string,
    school: string,
    role_id: number
}>

export type CommentType = Partial<{
    id: number,
    doctorid: number,
    patientid: number | unknown,
    patient: string,
    content: string,
    title: string,
    rate: number,
    create_time: string
}>


export type BannerType = Partial<{
    id: number,
    img: string,
    url: string
}>

export type AppointmentType = Partial<{
    id: number,
    doctorid: number | unknown,
    doctor: string,
    doctorPhone: string,
    patientid: number,
    name: string,
    phone: string,
    appoint_time: string | number,
    status: number,
    create_time: string
}>


